Integrand size = 27, antiderivative size = 221 \[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{x \left (f+g x^{-2 n}\right )} \, dx=\frac {\log \left (c \left (d+e x^n\right )^p\right ) \log \left (\frac {e \left (\sqrt {g}-\sqrt {-f} x^n\right )}{d \sqrt {-f}+e \sqrt {g}}\right )}{2 f n}+\frac {\log \left (c \left (d+e x^n\right )^p\right ) \log \left (-\frac {e \left (\sqrt {g}+\sqrt {-f} x^n\right )}{d \sqrt {-f}-e \sqrt {g}}\right )}{2 f n}+\frac {p \operatorname {PolyLog}\left (2,\frac {\sqrt {-f} \left (d+e x^n\right )}{d \sqrt {-f}-e \sqrt {g}}\right )}{2 f n}+\frac {p \operatorname {PolyLog}\left (2,\frac {\sqrt {-f} \left (d+e x^n\right )}{d \sqrt {-f}+e \sqrt {g}}\right )}{2 f n} \]
1/2*ln(c*(d+e*x^n)^p)*ln(-e*(x^n*(-f)^(1/2)+g^(1/2))/(d*(-f)^(1/2)-e*g^(1/ 2)))/f/n+1/2*ln(c*(d+e*x^n)^p)*ln(e*(-x^n*(-f)^(1/2)+g^(1/2))/(d*(-f)^(1/2 )+e*g^(1/2)))/f/n+1/2*p*polylog(2,(d+e*x^n)*(-f)^(1/2)/(d*(-f)^(1/2)-e*g^( 1/2)))/f/n+1/2*p*polylog(2,(d+e*x^n)*(-f)^(1/2)/(d*(-f)^(1/2)+e*g^(1/2)))/ f/n
\[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{x \left (f+g x^{-2 n}\right )} \, dx=\int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{x \left (f+g x^{-2 n}\right )} \, dx \]
Time = 0.58 (sec) , antiderivative size = 213, normalized size of antiderivative = 0.96, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {2005, 2925, 2863, 2009}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{x \left (f+g x^{-2 n}\right )} \, dx\) |
\(\Big \downarrow \) 2005 |
\(\displaystyle \int \frac {x^{2 n-1} \log \left (c \left (d+e x^n\right )^p\right )}{f x^{2 n}+g}dx\) |
\(\Big \downarrow \) 2925 |
\(\displaystyle \frac {\int \frac {x^n \log \left (c \left (e x^n+d\right )^p\right )}{f x^{2 n}+g}dx^n}{n}\) |
\(\Big \downarrow \) 2863 |
\(\displaystyle \frac {\int \left (\frac {\sqrt {-f} \log \left (c \left (e x^n+d\right )^p\right )}{2 f \left (\sqrt {-f} x^n+\sqrt {g}\right )}-\frac {\sqrt {-f} \log \left (c \left (e x^n+d\right )^p\right )}{2 f \left (\sqrt {g}-\sqrt {-f} x^n\right )}\right )dx^n}{n}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {\frac {\log \left (c \left (d+e x^n\right )^p\right ) \log \left (\frac {e \left (\sqrt {g}-\sqrt {-f} x^n\right )}{d \sqrt {-f}+e \sqrt {g}}\right )}{2 f}+\frac {\log \left (c \left (d+e x^n\right )^p\right ) \log \left (-\frac {e \left (\sqrt {-f} x^n+\sqrt {g}\right )}{d \sqrt {-f}-e \sqrt {g}}\right )}{2 f}+\frac {p \operatorname {PolyLog}\left (2,\frac {\sqrt {-f} \left (e x^n+d\right )}{d \sqrt {-f}-e \sqrt {g}}\right )}{2 f}+\frac {p \operatorname {PolyLog}\left (2,\frac {\sqrt {-f} \left (e x^n+d\right )}{\sqrt {-f} d+e \sqrt {g}}\right )}{2 f}}{n}\) |
((Log[c*(d + e*x^n)^p]*Log[(e*(Sqrt[g] - Sqrt[-f]*x^n))/(d*Sqrt[-f] + e*Sq rt[g])])/(2*f) + (Log[c*(d + e*x^n)^p]*Log[-((e*(Sqrt[g] + Sqrt[-f]*x^n))/ (d*Sqrt[-f] - e*Sqrt[g]))])/(2*f) + (p*PolyLog[2, (Sqrt[-f]*(d + e*x^n))/( d*Sqrt[-f] - e*Sqrt[g])])/(2*f) + (p*PolyLog[2, (Sqrt[-f]*(d + e*x^n))/(d* Sqrt[-f] + e*Sqrt[g])])/(2*f))/n
3.4.73.3.1 Defintions of rubi rules used
Int[(Fx_)*(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Int[x^(m + n*p)*(b + a/x^n)^p*Fx, x] /; FreeQ[{a, b, m, n}, x] && IntegerQ[p] && Neg Q[n]
Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((h_.)*(x_)) ^(m_.)*((f_) + (g_.)*(x_)^(r_.))^(q_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*Log[c*(d + e*x)^n])^p, (h*x)^m*(f + g*x^r)^q, x], x] /; FreeQ[{a, b, c , d, e, f, g, h, m, n, p, q, r}, x] && IntegerQ[m] && IntegerQ[q]
Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m _.)*((f_) + (g_.)*(x_)^(s_))^(r_.), x_Symbol] :> Simp[1/n Subst[Int[x^(Si mplify[(m + 1)/n] - 1)*(f + g*x^(s/n))^r*(a + b*Log[c*(d + e*x)^p])^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, f, g, m, n, p, q, r, s}, x] && Integer Q[r] && IntegerQ[s/n] && IntegerQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0 ] || IGtQ[q, 0])
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 8.89 (sec) , antiderivative size = 398, normalized size of antiderivative = 1.80
method | result | size |
risch | \(\frac {\ln \left (\left (d +e \,x^{n}\right )^{p}\right ) \ln \left (g +f \,x^{2 n}\right )}{2 n f}-\frac {p \ln \left (d +e \,x^{n}\right ) \ln \left (g +f \,x^{2 n}\right )}{2 n f}+\frac {p \ln \left (d +e \,x^{n}\right ) \ln \left (\frac {e \sqrt {-f g}-f \left (d +e \,x^{n}\right )+d f}{e \sqrt {-f g}+d f}\right )}{2 n f}+\frac {p \ln \left (d +e \,x^{n}\right ) \ln \left (\frac {e \sqrt {-f g}+f \left (d +e \,x^{n}\right )-d f}{e \sqrt {-f g}-d f}\right )}{2 n f}+\frac {p \operatorname {dilog}\left (\frac {e \sqrt {-f g}-f \left (d +e \,x^{n}\right )+d f}{e \sqrt {-f g}+d f}\right )}{2 n f}+\frac {p \operatorname {dilog}\left (\frac {e \sqrt {-f g}+f \left (d +e \,x^{n}\right )-d f}{e \sqrt {-f g}-d f}\right )}{2 n f}+\frac {\left (\frac {i \pi \,\operatorname {csgn}\left (i \left (d +e \,x^{n}\right )^{p}\right ) {\operatorname {csgn}\left (i c \left (d +e \,x^{n}\right )^{p}\right )}^{2}}{2}-\frac {i \pi \,\operatorname {csgn}\left (i \left (d +e \,x^{n}\right )^{p}\right ) \operatorname {csgn}\left (i c \left (d +e \,x^{n}\right )^{p}\right ) \operatorname {csgn}\left (i c \right )}{2}-\frac {i \pi {\operatorname {csgn}\left (i c \left (d +e \,x^{n}\right )^{p}\right )}^{3}}{2}+\frac {i \pi {\operatorname {csgn}\left (i c \left (d +e \,x^{n}\right )^{p}\right )}^{2} \operatorname {csgn}\left (i c \right )}{2}+\ln \left (c \right )\right ) \ln \left (g +f \,x^{2 n}\right )}{2 n f}\) | \(398\) |
1/2/n*ln((d+e*x^n)^p)/f*ln(g+f*(x^n)^2)-1/2/n/f*p*ln(d+e*x^n)*ln(g+f*(x^n) ^2)+1/2/n/f*p*ln(d+e*x^n)*ln((e*(-f*g)^(1/2)-f*(d+e*x^n)+d*f)/(e*(-f*g)^(1 /2)+d*f))+1/2/n/f*p*ln(d+e*x^n)*ln((e*(-f*g)^(1/2)+f*(d+e*x^n)-d*f)/(e*(-f *g)^(1/2)-d*f))+1/2/n/f*p*dilog((e*(-f*g)^(1/2)-f*(d+e*x^n)+d*f)/(e*(-f*g) ^(1/2)+d*f))+1/2/n/f*p*dilog((e*(-f*g)^(1/2)+f*(d+e*x^n)-d*f)/(e*(-f*g)^(1 /2)-d*f))+1/2*(1/2*I*Pi*csgn(I*(d+e*x^n)^p)*csgn(I*c*(d+e*x^n)^p)^2-1/2*I* Pi*csgn(I*(d+e*x^n)^p)*csgn(I*c*(d+e*x^n)^p)*csgn(I*c)-1/2*I*Pi*csgn(I*c*( d+e*x^n)^p)^3+1/2*I*Pi*csgn(I*c*(d+e*x^n)^p)^2*csgn(I*c)+ln(c))/n/f*ln(g+f *(x^n)^2)
\[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{x \left (f+g x^{-2 n}\right )} \, dx=\int { \frac {\log \left ({\left (e x^{n} + d\right )}^{p} c\right )}{{\left (f + \frac {g}{x^{2 \, n}}\right )} x} \,d x } \]
Timed out. \[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{x \left (f+g x^{-2 n}\right )} \, dx=\text {Timed out} \]
\[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{x \left (f+g x^{-2 n}\right )} \, dx=\int { \frac {\log \left ({\left (e x^{n} + d\right )}^{p} c\right )}{{\left (f + \frac {g}{x^{2 \, n}}\right )} x} \,d x } \]
\[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{x \left (f+g x^{-2 n}\right )} \, dx=\int { \frac {\log \left ({\left (e x^{n} + d\right )}^{p} c\right )}{{\left (f + \frac {g}{x^{2 \, n}}\right )} x} \,d x } \]
Timed out. \[ \int \frac {\log \left (c \left (d+e x^n\right )^p\right )}{x \left (f+g x^{-2 n}\right )} \, dx=\int \frac {\ln \left (c\,{\left (d+e\,x^n\right )}^p\right )}{x\,\left (f+\frac {g}{x^{2\,n}}\right )} \,d x \]